import 'package:flutter/material.dart';
import 'package:flutterdemo01/demo56/main.dart';

import 'HomeDatas.dart';

main() {
  runApp(HomeApp());
}

class HomeApp extends StatefulWidget {
  const HomeApp({Key? key}) : super(key: key);

  @override
  _HomeAppState createState() => _HomeAppState();
}

class _HomeAppState extends State<HomeApp> {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      onGenerateRoute: onGenerateRoute,
      // routes: routesInfo,
      theme: ThemeData(primaryColor: Colors.lightBlue),
      home: MainPage(),
    );
  }
}
